package org.ctsi.rsds.api.rest.handler;

import org.ctsi.rsds.api.resource.ResourceObjResource;
import org.ctsi.rsds.base.rest.ResourceHandler;
import org.ctsi.rsds.pojo.ResourceObj;

public class ResourceObjResourceHandler extends ResourceHandler {
	
    public ResourceObj convertToResourceObj(ResourceObjResource resourceObjResource) {
        return (ResourceObj) copyObj(resourceObjResource, new ResourceObj());
    }

    public ResourceObjResource convertFromResourceObj(ResourceObj resourceObj) {
        return (ResourceObjResource) copyObj(resourceObj, new ResourceObjResource());
    }
    
}
